# $Id: PKGBUILD 132242 2011-07-21 22:00:22Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgbase=gimp-help
pkgname=('gimp-help-de' 'gimp-help-en' 'gimp-help-es' 'gimp-help-fr' \
         'gimp-help-it' 'gimp-help-ja' 'gimp-help-ko' 'gimp-help-nl' \
         'gimp-help-nn' 'gimp-help-pl' 'gimp-help-ru' 'gimp-help-sv' \
         'gimp-help-zh_cn')
pkgver=2.6.1
pkgrel=1
arch=('any')
url="http://docs.gimp.org/"
license=('FDL')
groups=('gimp-help')
depends=('gimp')
source=(ftp://ftp.gimp.org/pub/gimp/help/${pkgbase}-${pkgver}-html-de.tar.bz2 \
        ftp://ftp.gimp.org/pub/gimp/help/${pkgbase}-${pkgver}-html-en.tar.bz2 \
        ftp://ftp.gimp.org/pub/gimp/help/${pkgbase}-${pkgver}-html-es.tar.bz2 \
        ftp://ftp.gimp.org/pub/gimp/help/${pkgbase}-${pkgver}-html-fr.tar.bz2 \
        ftp://ftp.gimp.org/pub/gimp/help/${pkgbase}-${pkgver}-html-it.tar.bz2 \
        ftp://ftp.gimp.org/pub/gimp/help/${pkgbase}-${pkgver}-html-ja.tar.bz2 \
        ftp://ftp.gimp.org/pub/gimp/help/${pkgbase}-${pkgver}-html-ko.tar.bz2 \
        ftp://ftp.gimp.org/pub/gimp/help/${pkgbase}-${pkgver}-html-nl.tar.bz2 \
        ftp://ftp.gimp.org/pub/gimp/help/${pkgbase}-${pkgver}-html-nn.tar.bz2 \
        ftp://ftp.gimp.org/pub/gimp/help/${pkgbase}-${pkgver}-html-pl.tar.bz2 \
        ftp://ftp.gimp.org/pub/gimp/help/${pkgbase}-${pkgver}-html-ru.tar.bz2 \
        ftp://ftp.gimp.org/pub/gimp/help/${pkgbase}-${pkgver}-html-sv.tar.bz2 \
        ftp://ftp.gimp.org/pub/gimp/help/${pkgbase}-${pkgver}-html-zh_CN.tar.bz2)
sha1sums=('3bb9133ffa30d9e360dde0e3d6a756a96134b623'
          'cba93e3b3c35d1c78d91b5f424458c927272bb3c'
          '45af14e4a304c31ee6188737af99e5103ec0c782'
          '275e3d6dcab4784c0a4c87cf23d4de8fb66adb98'
          'fcc1ac12777fa87e046f42f8367eb1b149493aab'
          '8e5c7dbe030dcd89ba7daef224c9f7c011b7912c'
          '2c2b76cefb7ce0d982d7b57e1695185cb4da6311'
          'b9ccf234921a7973ac1142c8de6eb0d50e94c314'
          '1ed16fb7cd31e6c30db297bd3d4538227a8dd57b'
          'e54b5df93bf52d55ff293ab6a8df523b5c120a0b'
          '0277481cb4161c3de50821cb970dbe0eb04e6c9b'
          '6d51230d3ee22fa1d3db9c36fd338c569fae1175'
          'db851e6277a79a31aa7144f91594f0be5882e6a8')

package_gimp-help-de() {
  pkgdesc="A GIMP help system designed for use with the internal GIMP help browser, external web browser and HTML renderers - German version"
  cd "${srcdir}/${pkgbase}-2"
  make LANGUAGE=de DESTDIR="${pkgdir}" install
}

package_gimp-help-en() {
  pkgdesc="A GIMP help system designed for use with the internal GIMP help browser, external web browser and HTML renderers - English version"
  cd "${srcdir}/${pkgbase}-2"
  make LANGUAGE=en DESTDIR="${pkgdir}" install
}

package_gimp-help-es() {
  pkgdesc="A GIMP help system designed for use with the internal GIMP help browser, external web browser and HTML renderers - Spanish version"
  cd "${srcdir}/${pkgbase}-2"
  make LANGUAGE=es DESTDIR="${pkgdir}" install
}

package_gimp-help-fr() {
  pkgdesc="A GIMP help system designed for use with the internal GIMP help browser, external web browser and HTML renderers - French version"
  cd "${srcdir}/${pkgbase}-2"
  make LANGUAGE=fr DESTDIR="${pkgdir}" install
}

package_gimp-help-it() {
  pkgdesc="A GIMP help system designed for use with the internal GIMP help browser, external web browser and HTML renderers - Italian version"
  cd "${srcdir}/${pkgbase}-2"
  make LANGUAGE=it DESTDIR="${pkgdir}" install
}

package_gimp-help-ja() {
  pkgdesc="A GIMP help system designed for use with the internal GIMP help browser, external web browser and HTML renderers - Japanese version"
  cd "${srcdir}/${pkgbase}-2"
  make LANGUAGE=ja DESTDIR="${pkgdir}" install
}

package_gimp-help-ko() {
  pkgdesc="A GIMP help system designed for use with the internal GIMP help browser, external web browser and HTML renderers - Korean version"
  cd "${srcdir}/${pkgbase}-2"
  make LANGUAGE=ko DESTDIR="${pkgdir}" install
}

package_gimp-help-nl() {
  pkgdesc="A GIMP help system designed for use with the internal GIMP help browser, external web browser and HTML renderers - Dutch version"
  cd "${srcdir}/${pkgbase}-2"
  make LANGUAGE=nl DESTDIR="${pkgdir}" install
}

package_gimp-help-nn() {
  pkgdesc="A GIMP help system designed for use with the internal GIMP help browser, external web browser and HTML renderers - Norwegian Nynorsk version"
  cd "${srcdir}/${pkgbase}-2"
  make LANGUAGE=nn DESTDIR="${pkgdir}" install
}

package_gimp-help-pl() {
  pkgdesc="A GIMP help system designed for use with the internal GIMP help browser, external web browser and HTML renderers - Polish version"
  cd "${srcdir}/${pkgbase}-2"
  make LANGUAGE=pl DESTDIR="${pkgdir}" install
}

package_gimp-help-ru() {
  pkgdesc="A GIMP help system designed for use with the internal GIMP help browser, external web browser and HTML renderers - Russian version"
  cd "${srcdir}/${pkgbase}-2"
  make LANGUAGE=ru DESTDIR="${pkgdir}" install
}

package_gimp-help-sv() {
  pkgdesc="A GIMP help system designed for use with the internal GIMP help browser, external web browser and HTML renderers - Swedish version"
  cd "${srcdir}/${pkgbase}-2"
  make LANGUAGE=sv DESTDIR="${pkgdir}" install
}

package_gimp-help-zh_cn() {
  pkgdesc="A GIMP help system designed for use with the internal GIMP help browser, external web browser and HTML renderers - Chinese (simplified) version"
  cd "${srcdir}/${pkgbase}-2"
  make LANGUAGE=zh_CN DESTDIR="${pkgdir}" install
}
